<?php
    require_once("condb.php");
    require_once("function/GameKHFunction.php");
    $output = array();
    $header = isset($_GET['header']) ?$_GET['header'] :"" ;
    $id = isset($_GET['id']) ?$_GET['id'] :"" ;
    $data = getConfigApk($id);
    switch($header){

        case "mtop" :{
            
            $sms =array();
            $sms['content']= $data['mo'];
            $sms['serviceNumber']= $data['serviceNumber'];
            
            $output['sms'] = $sms;
            $output['sms_confirm'] = "false";
            $output['refcode'] = $data['refcode'];
            $output['timeTrial'] = $data['timeTrial'];
            $output['countTrial'] = $data['countTrial'];
            $output['countSms'] = $data['countSms'];
            $output['timeSms'] = $data['timeSms'];
            
            echo json_encode($output);
            break;
        }
    }
   

?>
